import request from "@/utils/request";

export const getYunRenApi = (data) => {
  return request({
    method: "POST",
    url: "manager/transport-task-manager/page",
    data,
  });
};

//获取运单数量cout
export const getYunRenNumberApi = () => {
  return request({
    method: "GET",
    url: "manager/transport-task-manager/count",
  });
};

//获取线路List
export const getDateListApi = (data) => {
  return request({
    method: "POST",
    url: "manager/transportLine/page",
    data,
  });
};

//获取车次线路
export const getCarDate = (id) => {
  return request({
    method: "GET",
    url: "manager/transportLine/trips",
    params: {
      transportLineId: id,
    },
  });
};
